package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 试题表question
 * @author youshengfeng
 * @date 2022/2/20 上午 12:07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "question")
public class Question implements java.io.Serializable{
    //主键id
    private ObjectId id;
    //自增id
    private Long pid;
    //题目
    private String question;
    //级别
    private Integer level;
    //创建时间
    private Long created;

}
